// vite.config.ts
import { defineConfig } from "file:///E:/web/xc-table/node_modules/vite/dist/node/index.js";
import { resolve } from "node:path";
import vue from "file:///E:/web/xc-table/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///E:/web/xc-table/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/web/xc-table/node_modules/unplugin-vue-components/dist/vite.js";
import { VantResolver } from "file:///E:/web/xc-table/node_modules/@vant/auto-import-resolver/dist/index.esm.mjs";
import vueJsx from "file:///E:/web/xc-table/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
function pathResolve(dir) {
  return resolve(process.cwd(), ".", dir);
}
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    vueJsx(),
    AutoImport({
      resolvers: [VantResolver()]
    }),
    Components({
      resolvers: [VantResolver()],
      directoryAsNamespace: true
    })
  ],
  resolve: {
    alias: [
      // @/xxxx => src/xxxx
      {
        find: /\@\//,
        replacement: `${pathResolve("src")}/`
      }
    ]
  },
  css: {
    preprocessorOptions: {
      less: {
        javascriptEnabled: true
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJFOlxcXFx3ZWJcXFxceGMtdGFibGVcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkU6XFxcXHdlYlxcXFx4Yy10YWJsZVxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRTovd2ViL3hjLXRhYmxlL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnI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